package com.blazer.e;

public class Student {
    //标准javabean
    //类必须是具体的 public class类名
    //并且具有无参的构造方法，有参构造
    //成员变量私有化 提供set和get方法
    private int sid;
    private String sname;

    public Student(int sid, String sname) {
        this.sid = sid;
        this.sname = sname;
    }

    public Student() {
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
}
